<template>
    <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="date" label="Date" width="180" />
    <el-table-column prop="name" label="Name" width="180" />
    <el-table-column prop="address" label="Address" />
  </el-table>
</template>

<script setup>
    import {ref} from 'vue'
    const data = Array.from(Array(114), (v,i)=>{
    return {
        account:'uaa'+ (i+1),
        createTime: new Date(Date.now() + Math.ceil(Math.random()*1000)),
        level: Math.ceil(Math.random()*10)
    }
})

console.log('data',data);
    const tableData  = ref([]);
    const currentPage = ref(1)
    const pagesize = ref(5)
    const getData =(page,pagesize)=>{
        data.slice((page-1)*pagesize,page*pagesize)
    }
    getData()
</script>